package array;

import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: wwy
 * Date: 2024-08-18
 * Time: 13:53
 */
public class sort {
    public static void main(String[] args) {
        int[] array={1,2,35,4,6};
        System.out.println(Arrays.binarySearch(array,4));
    }
}
